<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{$zhu.name}回迁结算情况</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="__PUBLIC__/layui/css/layui.css"  media="all">
  <link rel="stylesheet" href="__PUBLIC__/font-awesome/css/font-awesome.min.css" media="all" />
  <link rel="stylesheet" href="__CSS__/admin.css"  media="all">
  <style type="text/css">
  /* tooltip */
  #tooltip{
    position:absolute;
    border:1px solid #ccc;
    background:#333;
    padding:2px;
    display:none;
    color:#fff;
  }
  </style>
</head>
<body style="padding:10px;">
  <div class="tplay-body-div">
    <div class="layui-tab">
      <ul class="layui-tab-title">
        <li class="a_menu"><a href="{:url('admin/hqjiesuan/hqjiesuan')}" >回迁结算拆迁费用</a></li>
        <li class="layui-this">{$zhu.name}回迁结算情况</li>
      </ul>
    </div> 
    <h1 align="center">{$zhu.name}</h1>
    <br /><br />
    <center>
    协议签定日期：2018.05.02               　　　　　　　　     编号：（001）第51号 
    </center>
    <table class="layui-table" lay-size="lg">
        <tr >
          <td valign="center" ><p align="right" ><strong>户主姓名</strong></p></td>
          <td valign="center" ><p >{$zhu.name}</p></td>
          <td valign="center" ><p align="center" >{$zhu.sex} </p></td>
          <td valign="center" ><p align="center" >{$zhu.age}岁 </p></td>
          <td valign="center" ><p align="center" >包子铺 </p></td>
          <td valign="center" ><p align="center" > </p></td>
        </tr>
        <tr >
          <td valign="center" ><p align="right" ><strong>身份证号</strong></p></td>
          <td valign="center" colspan="2" ><p >{$zhu.idcar} </p></td>
          <td valign="center" ><p align="right" ><strong>联系方式</strong></p></td>
          <td valign="center" colspan="2" ><p >13232348196 </p></td>
        </tr>
        <tr >
          <td valign="center" ><p align="right" ><strong>拆迁人口数</strong></p></td>
          <td valign="center" ><p align="center" ><a href="#">{$zhu.chairen} </a></p></td>
          <td valign="center" ><p align="right" ><strong>基本村民</strong></p></td>
          <td valign="center" ><p align="center" >{$zhu.chaicun} </p></td>
          <td valign="center" ><p align="right" ><strong>非基本村民</strong></p></td>
          <td valign="center" ><p align="center" >{$zhu.chaifei} </p></td>
        </tr>
    </table>

      <form class="layui-form" id="admin">
<h2 align="center" style="margin-top: 58px;">回迁结算情况</h2>


 <table class="layui-table" id="table1" lay-filter="test1" lay-size="lg">
      <tr>
      <td valign="center"  ><p align="center" ></p></td>
        <td valign="center"  ><p align="center" ><strong>安置情况</strong></p></td>
        <td valign="center" ><p align="center" ><strong>应得安置楼面积</strong></p></td>
        <td valign="center"  ><p align="center" ><strong>应得保障房面积</strong></p></td>
        <td valign="center" ><p align="center" ><strong>可按平价购买面积</strong></p></td>
        <td valign="center" ><p align="center" ><strong>备注</strong></p></td>
      </tr>

 <tr>
  <td valign="center" ><p align="center" >1</p></td>
        <td valign="center" ><p align="center" >结算前面积</p></td>
        <td valign="center" ><p align="center" ><input name="jsqmj" lay-verify="required" {notempty name="$info.jsqmj"}value="{$info.jsqmj}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
        <td valign="center" ><p align="center" ><input name="jsqmj1" lay-verify="required" {notempty name="$info.jsqmj1"}value="{$info.jsqmj1}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
        <td valign="center" ><p align="center" ><input name="jsqmj2" lay-verify="required" {notempty name="$info.jsqmj2"}value="{$info.jsqmj2}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
        <td valign="center" ><p align="center" ><input name="jsqmj_bz" lay-verify="required" {notempty name="$info.jsqmj_bz"}value="{$info.jsqmj_bz}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>

      </tr>

  <td valign="center" ><p align="center" >2</p></td>
        <td valign="center" ><p align="center" >结算时调整</p></td>

     <td valign="center" ><p align="center" ><input name="jsstz" lay-verify="required" {notempty name="$info.jsstz"}value="{$info.jsstz}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="jsstz1" lay-verify="required" {notempty name="$info.jsstz1"}value="{$info.jsstz1}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="jsstz2" lay-verify="required" {notempty name="$info.jsstz2"}value="{$info.jsstz2}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="jsstz_bz" lay-verify="required" {notempty name="$info.jsstz_bz"}value="{$info.jsstz_bz}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>

     </tr>

        <td valign="center" ><p align="center" >3</p></td>
        <td valign="center" ><p align="center" >调整后面积</p></td>
     <td valign="center" ><p align="center" ><input name="tzhmj" lay-verify="required" {notempty name="$info.tzhmj"}value="{$info.tzhmj}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="tzhmj1" lay-verify="required" {notempty name="$info.tzhmj1"}value="{$info.tzhmj1}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="tzhmj2" lay-verify="required" {notempty name="$info.tzhmj2"}value="{$info.tzhmj2}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="tzhmj_bz" lay-verify="required" {notempty name="$info.tzhmj_bz"}value="{$info.tzhmj_bz}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>

     </tr>


        <td valign="center" ><p align="center" >4</p></td>
        <td valign="center" ><p align="center" >选房总面积</p></td>
     <td valign="center" ><p align="center" ><input name="xfzmj" lay-verify="required" {notempty name="$info.xfzmj"}value="{$info.xfzmj}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="xfzmj1" lay-verify="required" {notempty name="$info.xfzmj1"}value="{$info.xfzmj1}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="xfzmj2" lay-verify="required" {notempty name="$info.xfzmj2"}value="{$info.xfzmj2}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="xfzmj_bz" lay-verify="required" {notempty name="$info.xfzmj_bz"}value="{$info.xfzmj_bz}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>

     </tr>



           <td valign="center" ><p align="center" ></p></td>
        <td valign="center" ><p align="center" >其中C区期房面积</p></td>
     <td valign="center" ><p align="center" ><input name="cqmj" lay-verify="required" {notempty name="$info.cqmj"}value="{$info.cqmj}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
        <td valign="center" ><p align="center" >其中A区商住面积</p></td>
     <td valign="center" ><p align="center" ><input name="aqmj" lay-verify="required" {notempty name="$info.aqmj"}value="{$info.aqmj}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>
     <td valign="center" ><p align="center" ><input name="ca_bz" lay-verify="required" {notempty name="$info.ca_bz"}value="{$info.ca_bz}"{/notempty} autocomplete="off" class="layui-input" type="text"></p></td>

     </tr>

</table>


    <h2 align="center" style="margin-top: 58px;">拆迁费用结算</h2>

      <input type="hidden" name="uid" value="{$id}">
    <table class="layui-table" id="table" lay-filter="test1" lay-size="lg">
      <tr >
        <td valign="center" rowspan="2" ><p align="center" >&nbsp;</p></td>
        <td valign="center" rowspan="2" ><p align="center" ><strong>项目名称</strong></p></td>
        <td valign="center" rowspan="2" ><p align="center" ><strong>单价</strong></p></td>
        <td valign="center" rowspan="2" ><p align="center" ><strong>数量</strong></p></td>
        <td valign="center" ><p align="center" ><strong>拆迁户应得金额</strong></p></td>
        <td valign="center" rowspan="2" ><p align="center" ><strong>备注</strong></p></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" ><strong>（单位：元）</strong></p></td>
      </tr>
      <div id="number">
      <tr >
        <td valign="center" ><p align="center" >1 </p></td>
        <td valign="center" ><p align="center" >安置楼款 </p></td>
        <td valign="center" ><p align="center" ><input name="d1" lay-verify="required" {notempty name="$info.d1"}value="{$info.d1}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米 </p></td>
        <td valign="center" ><input name="anzhisum" lay-verify="required" {notempty name="$info.anzhisum"}value="{$info.anzhisum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="anzhijine" lay-verify="required" {notempty name="$info.anzhijine"}value="{$info.anzhijine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu1" lay-verify="required" {notempty name="$info.beizhu1"}value="{$info.anzhijine}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" rowspan="2" ><p align="center" >2 </p></td>
        <td valign="center" rowspan="2" ><p align="center" >平价指标 </p></td>
        <td valign="center" ><p align="center" ><input name="d2" lay-verify="required" {notempty name="$info.d2"}value="{$info.d2}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米 或 </p></td>
        <td valign="center" ><input name="pingjiasum" lay-verify="required" {notempty name="$info.pingjiasum"}value="{$info.pingjiasum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="pingjiajine" lay-verify="required" {notempty name="$info.pingjiajine"}value="{$info.pingjiajine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu2" lay-verify="required" {notempty name="$info.beizhu2"}value="{$info.beizhu2}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" ><input name="d3" lay-verify="required" {notempty name="$info.d3"}value="{$info.d3}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米 </p></td>
        <td valign="center" ><input name="pingjia2sum" lay-verify="required" {notempty name="$info.pingjia2sum"}value="{$info.pingjia2sum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="pingjia2jine" lay-verify="required" {notempty name="$info.pingjia2jine"}value="{$info.pingjia2jine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu3" lay-verify="required" {notempty name="$info.beizhu3"}value="{$info.beizhu3}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >3 </p></td>
        <td valign="center" ><p align="center" >过渡指标 </p></td>
        <td valign="center" ><p align="center" ><input name="d4" lay-verify="required" {notempty name="$info.d4"}value="{$info.d4}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米 </p></td>
        <td valign="center" ><input name="guodusum" lay-verify="required" {notempty name="$info.guodusum"}value="{$info.guodusum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="guodujine" lay-verify="required" {notempty name="$info.guodujine"}value="{$info.guodujine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu4" lay-verify="required" {notempty name="$info.beizhu4"}value="{$info.beizhu4}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >4 </p></td>
        <td valign="center" ><p align="center" >增补装修费 </p></td>
        <td valign="center" ><p align="center" ><input name="d5" lay-verify="required" {notempty name="$info.d5"}value="{$info.d5}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米 </p></td>
        <td valign="center" ><input name="zbzxsum" lay-verify="required" {notempty name="$info.zbzxsum"}value="{$info.zbzxsum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="zbzxjine" lay-verify="required" {notempty name="$info.zbzxjine"}value="{$info.zbzxjine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu5" lay-verify="required" {notempty name="$info.beizhu5"}value="{$info.beizhu5}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >5 </p></td>
        <td valign="center" ><p align="center" >新增人口租房补助 </p></td>
        <td valign="center" ><p align="center" ><input name="d6" lay-verify="required" {notempty name="$info.d6"}value="{$info.d6}"{/notempty} autocomplete="off" class="layui-input" type="text">元/月 </p></td>
        <td valign="center" ><input name="xinrkzfbusum" lay-verify="required" {notempty name="$info.xinrkzfbusum"}value="{$info.xinrkzfbusum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="xinrkzfbujine" lay-verify="required" {notempty name="$info.xinrkzfbujine"}value="{$info.xinrkzfbujine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu6" lay-verify="required" {notempty name="$info.beizhu6"}value="{$info.beizhu6}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >6 </p></td>
        <td valign="center" ><p align="center" >新增人口取暖补助 </p></td>
        <td valign="center" ><p align="center" ><input name="d7" lay-verify="required" {notempty name="$info.d7"}value="{$info.d7}"{/notempty} autocomplete="off" class="layui-input" type="text">元/采暖季 </p></td>
        <td valign="center" ><input name="xinrkqnbusum" lay-verify="required" {notempty name="$info.xinrkqnbusum"}value="{$info.xinrkqnbusum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="xinrkqnbujine" lay-verify="required" {notempty name="$info.xinrkqnbujine"}value="{$info.xinrkqnbujine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu7" lay-verify="required" {notempty name="$info.beizhu7"}value="{$info.beizhu7}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >7 </p></td>
        <td valign="center" ><p align="center" >新增人口生活补助 </p></td>
        <td valign="center" ><p align="center" ><input name="d8" lay-verify="required" {notempty name="$info.d8"}value="{$info.d8}"{/notempty} autocomplete="off" class="layui-input" type="text">元/人.年 </p></td>
        <td valign="center" ><input name="xinrkshbusum" lay-verify="required" {notempty name="$info.xinrkshbusum"}value="{$info.xinrkshbusum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="xinrkshbujine" lay-verify="required" {notempty name="$info.xinrkshbujine"}value="{$info.xinrkshbujine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu8" lay-verify="required" {notempty name="$info.beizhu8"}value="{$info.beizhu8}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>

      <tr >
        <td valign="center" rowspan="2" ><p align="center" >8 </p></td>
        <td valign="center" ><p align="center" >A区期房 </p></td>
        <td valign="center" rowspan="2" ><p align="center" ><input name="d9" lay-verify="required" {notempty name="$info.d9"}value="{$info.d9}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米.天 </p></td>
        <td valign="center" rowspan="2" ><input name="Aqifangsum" lay-verify="required" {notempty name="$info.Aqifangsum"}value="{$info.Aqifangsum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" rowspan="2" ><input name="Aqifangjine" lay-verify="required" {notempty name="$info.Aqifangjine"}value="{$info.Aqifangjine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" rowspan="2" ><input name="beizhu9" lay-verify="required" {notempty name="$info.beizhu9"}value="{$info.beizhu9}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >房屋返租租金 </p></td>
      </tr>

      <tr >
        <td valign="center" ><p align="center" >9 </p></td>
        <td valign="center" ><p align="center" >A区家电补贴 </p></td>
        <td valign="center" ><p align="center" ><input name="d10" lay-verify="required" {notempty name="$info.d10"}value="{$info.d10}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米 </p></td>
        <td valign="center" ><input name="Ajiadiansum" lay-verify="required" {notempty name="$info.Ajiadiansum"}value="{$info.Ajiadiansum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="Ajiadianjine" lay-verify="required" {notempty name="$info.Ajiadianjine"}value="{$info.Ajiadianjine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" ><input name="beizhu10" lay-verify="required" {notempty name="$info.beizhu10"}value="{$info.beizhu10}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" rowspan="2" ><p align="center" >10 </p></td>
        <td valign="center" ><p align="center" >C区期房 </p></td>
        <td valign="center" rowspan="2" ><p align="center" ><input name="d11" lay-verify="required" {notempty name="$info.d11"}value="{$info.d11}"{/notempty} autocomplete="off" class="layui-input" type="text">元/平米.天 </p></td>
        <td valign="center" rowspan="2" ><input name="Cqifangsum" lay-verify="required" {notempty name="$info.Cqifangsum"}value="{$info.Cqifangsum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" rowspan="2" ><input name="Cqifangjine" lay-verify="required" {notempty name="$info.Cqifangjine"}value="{$info.Cqifangjine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" rowspan="2" ><input name="beizhu11" lay-verify="required" {notempty name="$info.beizhu11"}value="{$info.beizhu11}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >房屋返租租金 </p></td>
      </tr>
      <tr >
        <td valign="center" rowspan="2" ><p align="center" >11 </p></td>
        <td valign="center" ><p align="center" >厨房门补贴 </p></td>
        <td valign="center" rowspan="2" ><p align="center" ><input name="d12" lay-verify="required" {notempty name="$info.d12"}value="{$info.d12}"{/notempty} autocomplete="off" class="layui-input" type="text">元/每套房 </p></td>
        <td valign="center" rowspan="2" ><input name="chufmbusum" lay-verify="required" {notempty name="$info.chufmbusum"}value="{$info.chufmbusum}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" rowspan="2" ><input name="chufmbujine" lay-verify="required" {notempty name="$info.chufmbujine"}value="{$info.chufmbujine}"{/notempty} autocomplete="off" class="layui-input" type="number"></td>
        <td valign="center" rowspan="2" ><input name="beizhu12" lay-verify="required" {notempty name="$info.beizhu12"}value="{$info.beizhu12}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
      </div>
      <tr >
        <td valign="center" ><p align="center" >（期房除外） </p></td>
      </tr>
      <tr >
        <td valign="center" ><p align="center" >&nbsp;</p></td>
        <td valign="center" ><p align="center" ><strong>合  计 </strong></p></td>
        <td valign="center" ><p align="center" >&nbsp;</p></td>
        <td valign="center" ><p align="center" >&nbsp;</p></td>
        <td valign="center" ><input name="jinesum" id="sum" lay-verify="required" {notempty name="$info.jinesum"}value="{$info.jinesum}"{/notempty} readonly autocomplete="off" class="layui-input" type="text"></td>
        <td valign="center" ><input name="beizhu13" lay-verify="required" {notempty name="$info.beizhu13"}value="{$info.beizhu13}"{/notempty} autocomplete="off" class="layui-input" type="text"></td>
      </tr>
    </table>
          <?php if(!in_array($admin_cate_id,$operation)){ ?>
    <div class="layui-form-item" style="text-align:center">
        <div class="layui-input-block">
          <button class="layui-btn" lay-submit lay-filter="admin">立即提交</button>
          <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
      </div>
          <?php } ?>
    </form>
    <div style="padding:0 20px;"></div> 
  </div>




  <script src="__PUBLIC__/layui/layui.js"></script>
  <script src="__PUBLIC__/jquery/jquery.min.js"></script>
  <script>
    console.log($('input[type=number]'));
    $("input[type=number]").blur(function(){
      var valueArr= $('input[type=number]');
      var sumValue=0;
      if(valueArr.size()>0||valueArr != null){
           for (var i=0;i<valueArr.size();i++ )
            {    
                if(isNaN(valueArr[i].value)||valueArr[i].value==null||valueArr[i].value==""){
                   sumValue +=0;
                }
                else{
                   sumValue +=parseFloat(valueArr[i].value);
                }
            }
      }
      if(sumValue>0){
            $('#sum').val(parseInt(sumValue));
      }else{
           $('#sum').val(0);
      }
    })
  </script>
  <script>
      layui.use(['layer', 'form'], function() {
          var layer = layui.layer,
              $ = layui.jquery,
              form = layui.form;
          $(window).on('load', function() {
              form.on('submit(admin)', function(data) {
                  $.ajax({
                      url:"{:url('admin/hqjiesuan/hqjiesuan_add')}",
                      data:$('#admin').serialize(),
                      type:'post',
                      async: false,
                      success:function(res) {
                        if(res.code == 1) {
                            layer.alert('提交成功！',{icon:6});
                        }else {
                            layer.msg(res.msg);
                        }
                      }
                  })
                  return false;
              });
          });
      });
    </script>
</body>
</html>